package com.persistence.dao.interfaces;

import java.util.List;

import com.model.Unidadrinde;
import com.persistence.dao.DAOException;




/*******************************************************************************
*CUMENT ME!
*
*@author  Diego Iacono
*******************************************************************************/

public interface DAOUnidadrinde
{
    /***************************************************************************
    DOCUMENT ME!

    @param   cliente  DOCUMENT ME!

    @return  DOCUMENT ME!

    @throws  DAOException  DOCUMENT ME!
    ***************************************************************************/
    public int insert(Unidadrinde unidadrinde)
        throws DAOException;


    /***************************************************************************
    DOCUMENT ME!

    @param   cliente  DOCUMENT ME!

    @return  DOCUMENT ME!

    @throws  DAOException  DOCUMENT ME!
    ***************************************************************************/
    public int update(Unidadrinde unidadrinde)
        throws DAOException;


    /***************************************************************************
    DOCUMENT ME!

    @param   cliente  DOCUMENT ME!

    @return  DOCUMENT ME!

    @throws  DAOException  DOCUMENT ME!
    ***************************************************************************/
    public int eliminate(Unidadrinde unidadrinde)
        throws DAOException;


    /***************************************************************************
    DOCUMENT ME!

    @param   id  DOCUMENT ME!

    @return  DOCUMENT ME!

    @throws  DAOException  DOCUMENT ME!
    ***************************************************************************/
    public Unidadrinde findById(int id)
        throws DAOException;


    /***************************************************************************
    DOCUMENT ME!

    @return  DOCUMENT ME!

    @throws  DAOException  DOCUMENT ME!
    ***************************************************************************/
    public List select()
        throws DAOException;


    /***************************************************************************
    DOCUMENT ME!

    @return  DOCUMENT ME!

    @throws  DAOException  DOCUMENT ME!
    ***************************************************************************/
    public boolean existInstance(Unidadrinde unidadrinde)
        throws DAOException;
}
